
/**
 * Common
 */
div#arrow {
	background: #f2f2f2 url("/images/photos-arrow.png") left center no-repeat;
	height: 43px;
	padding-left: 30px;
}

	div#arrow form {
		padding-top: 7px;
	}

/**
 * Photoalbums list
 */

div#photoalbums_list {
	display: table;
	width: 100%;
}

	div#photoalbums_list div.album_item {
		float: left;
		width: 49%;
		margin-bottom: 30px;
	}
	
		div#photoalbums_list div.album_item div.album_info {
			margin-left: 120px;
		}
		
			div#photoalbums_list div.album_item div.album_info h3 {
				margin: 0px 0px 10px 0px;
				padding: 0px;
				font-size: 15pt;
			}
			
				div#photoalbums_list div.album_item div.album_info h3 span {
					margin-left: 20px;
				}
			
			div#photoalbums_list div.album_item div.album_info div.description {
				margin-top: 10px;
				font-style: italic;
			}
		
		div#photoalbums_list div.album_item div.album_preview {
			float: left;
			width: 120px;
		}
		
			div#photoalbums_list div.album_item div.album_preview img {
				border: 1px solid #B5B5B5;
				padding: 3px;
				background: #fff;
			}

/**
 * Photos list
 */

div#photos_list {
	display: table;
	width: 100%;
}

	div#photos_list div.photo_item {
		float: left;
		width: 49%;
		margin-bottom: 30px;
	}
	
		div#photos_list div.photo_item div.photo_info {
			margin-left: 120px;
		}
		
			div#photos_list div.photo_item div.photo_info h3 {
				margin: 0px 0px 10px 0px;
				padding: 0px;
				font-size: 15pt;
			}
			
			div#photos_list div.photo_item div.photo_info div {
				margin-bottom: 5px;
			}
			
			div#photos_list div.photo_item div.photo_info div.owner a {
				background: url("/images/user-small.png") left center no-repeat;
				padding-left: 16px;
			}
			
				div#photos_list div.photo_item div.photo_info div.owner span {
					font-style: italic;
					font-size: 8pt;
					margin-left: 10px;
				}
			
			div#photos_list div.photo_item div.photo_info div.tags {
				background: url("/images/tag.png") left center no-repeat;
				color: #7D8387;
				font-size: 8pt;
				height: 18px;
				padding: 3px 0 0 22px;
			}
			
				div#photos_list div.photo_item div.photo_info div.tags a {
					color: #8EBDE2;
				}
				
				div#photos_list div.photo_item div.photo_info div.tags a:hover {
					color: #FFFFFF;
					background: #8EBDE2;
				}
		
		div#photos_list div.photo_item div.photo_preview {
			float: left;
			width: 120px;
		}
		
			div#photos_list div.photo_item div.photo_preview div.photo_overlay_wrapper {
				height: 0px;
				width: 120px;
			}
			
			div#photos_list div.photo_item div.photo_preview a.photo_comments {
				top: -5px;
				left: 10px;
				width: 18px;
				height: 20px;
				background: url("/images/comments-count.png") no-repeat;
				display: block;
				font-size: 8pt;
				color: #fff;
				position: relative;
				text-decoration: none;
				text-align: center;
			}
		
			div#photos_list div.photo_item div.photo_preview img {
				border: 1px solid #B5B5B5;
				padding: 3px;
				background: #fff;
			}
			
			div#photos_list div.photo_item div.photo_preview div.photo_rating {
				background: #A4D139;
				color: #fff;
				font-size: 8pt;
				padding: 0px 3px;
				display: inline;
				position: relative;
				left: 0px;
				top: -20px;
			}

/**
 * Photoalbum info
 */
div#photoalbum_info,
div#photoalbums_owner_info {
	display: table;
	width: 100%;
	margin: 0px 0px 40px 0px;
}

	div#owner_avatar {
		float: left;
		width: 70px;
		text-align: center;
		background: #F2F2F2;
		padding: 5px 0px;
		/*margin-top: 20px;*/
	}
	
		div#owner_avatar img {
			background: #fff;
			padding: 3px;
			border: 1px solid #B5B5B5;
		}
	
	div#owner_info {
		margin-left: 70px;
	}
	
		div#owner_info h3 {
			font-size: 14pt;
			padding: 0px 0px 0px 10px;
			margin: 7px 0px 15px 0px;
		}
		
			div#owner_info h3 span {
				margin-left: 20px;
			}
		
		div#photoalbum_description {
			margin: 10px 0px;
			font-style: italic;
			padding-left: 10px;
		}
		
		div#owner_menu {
			padding: 5px 0px 5px 10px;
			background: #F2F2F2;
		}
		
			div#owner_menu a,
			div#owner_menu a:hover {
				color: #000;
				text-decoration: none;
				margin-right: 7px;
			}
			
			div#owner_menu a.selected,
			div#owner_menu a.selected:hover {
				color: #EA1EA0;
			}


/**
 * View photo
 */

div#view_photo {
	background: #F2F2F2;
	clear: both;
}

	div#photo {
		padding: 10px 0px;
		text-align: center;
	}
	
	div#photo_controls {
		background: #fff;
		display: table;
		width: 100%;
		padding: 10px 0px;
		text-align: right;
	}
		
		div#photo_controls p.description {
			font-style: italic;
		}

h1.photo {
	display: table;
}

h1.photo div {
	float: left;
}

div#photo_rating {
	height: 21px;
	font-size: 10pt;
	margin: 0px 20px;
	padding-top: 10px;
}

	div#photo_rating div {
		margin: 0px;
		float: left;
	}
	
	div#photo_rating a {
		text-decoration: none;
	}
		
	div#photo_rating div.photo_rating_number {
		color: #bbbbbb;
		margin: 0px 7px;
		margin-top: 3px;
		font-weight: bold;
	}
		
	div#photo_rating div.plus {
		color: #A4D139
	}
	
	div#photo_rating div.minus {
		color: #fe8433
	}


ul#photos_browser {
	list-style: none;
	margin: 0px;
	padding: 0px;
	display: table;
}

	ul#photos_browser li {
		float: left;
		margin: 7px;
		padding: 5px;
	}
	
	ul#photos_browser li.active {
		background: #EA1EA0;
	}

/**
 * Tag search
 */

div#tag_search {
	margin-bottom: 40px;
}

	div#tag_search form input {
		font-size: 17pt;
	}

	div#tag_search form input#tag_name {
		width: 80%;
	}

/**
 * Block user albums
 */

div#user_albums_block {}

	div#user_albums_block div.item {
		display: table;
		width: 100%;
		margin-bottom: 10px;
	}
	
		div#user_albums_block div.item div.preview {
			width: 115px;
			float: left;
		}
		
			div#user_albums_block div.item div.preview img {
				border: 1px solid #B5B5B5;
				background: #fff;
				padding: 3px;
			}
		
		div#user_albums_block div.item div.description {
			margin-left: 115px;
		}